Skip to content

fix(ci): flatten downloaded CLI artifacts before desktop build - #312

Merged
skevetter merged 1 commit into
mainfrom
0b89-e36e-fix-release-desktop
May 17, 2026
Merged

fix(ci): flatten downloaded CLI artifacts before desktop build#312
skevetter merged 1 commit into
mainfrom
0b89-e36e-fix-release-desktop

Conversation

@skevetter

Copy link
Copy Markdown
Contributor

Summary

  • Fixes the v1.2.1-rc release build failure where "Build Desktop App" jobs failed on all 3 platforms because CLI binaries were not found at expected flat paths
  • Root cause: goreleaser outputs binaries into nested subdirectories (e.g. dist/devsy-linux_linux_amd64_v1/devsy-linux-amd64), and upload-artifact preserves this nesting. After download, the desktop build setup steps expect flat paths like $RUNNER_TEMP/devsy-bin/devsy-linux-amd64 but find nested directories instead
  • Adds a flatten step between artifact download and setup that moves all nested files to the top level using find -mindepth 2 -exec mv, then removes empty subdirectories

The goreleaser output directory structure (e.g.
dist/devsy-linux_linux_amd64_v1/devsy-linux-amd64) is preserved by
upload-artifact, causing downloaded CLI binaries to be nested in
subdirectories under $RUNNER_TEMP/devsy-bin/. The desktop build steps
expect flat paths like devsy-bin/devsy-linux-amd64.

Add a flatten step after download that moves all files to the top level
of devsy-bin/ and removes the intermediate directories.
@netlify

netlify Bot commented May 17, 2026

Copy link
Copy Markdown

Deploy Preview for devsydev canceled.

Name Link
🔨 Latest commit 41466cb
🔍 Latest deploy log https://app.netlify.com/projects/devsydev/deploys/6a09f48b39fe33000817d89e

@coderabbitai

coderabbitai Bot commented May 17, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@skevetter has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 29 minutes and 52 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a6ea9ebb-c451-471c-998a-83dcd2f98e71

📥 Commits

Reviewing files that changed from the base of the PR and between 87d893e and 41466cb.

📒 Files selected for processing (1)
  • .github/workflows/release.yml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@skevetter
skevetter marked this pull request as ready for review May 17, 2026 17:46
@skevetter
skevetter merged commit 8a3b397 into main May 17, 2026
50 checks passed
@skevetter
skevetter deleted the 0b89-e36e-fix-release-desktop branch May 17, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant